<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">

<head>
    <meta name="viewport" content="width=device-width" charset="utf-8" />
    <title>RateFee</title>
</head>

<body>
    <input id="input" onchange="_clear_()" type="text" style="display: block; width: 100%; line-height: 1.6;">
    <button id="button" onclick="_cal_()" style="display: block; margin: 1em auto; padding: 0.3em 1em;">计算</button>
    <textarea id="textarea" rows="20" style="display: block; width: 100%; resize: vertical;"></textarea>

    <script>
eval(function(p,a,c,k,e,r){e=function(c){return c.toString(a)};if(!''.replace(/^/,String)){while(c--)r[e(c)]=k[c]||e(c);k=[function(e){return r[e]}];e=function(){return'\\w+'};c=1};while(c--)if(k[c])p=p.replace(new RegExp('\\b'+e(c)+'\\b','g'),k[c]);return p}('3 9(c){v(7 g=[],d=0,b=!1,f=3(a,b,c){l a+u(m.q((b||0)-a.r().8,0)+1).i(c||"")},e=0,h=c.8;e<h;e++){7 a=c.k(e);b&&a===b?"\\\\"!==c.k(e-1)&&(b=!1):b||\'"\'!==a&&"\'"!==a?b||" "!==a&&"\\t"!==a?b||":"!==a?b||","!==a?b||"["!==a&&"{"!==a?b||"]"!==a&&"}"!==a||(d--,a=f("\\n",2*d+1," ")+a):(d++,a+=f("\\n",2*d+1," ")):a+=f("\\n",2*d+1," "):a+=" ":a="":b=a;g.o(a)}l g.i("")}3 p(){7 c=6.5("#s").4;6.5("#j").4=9(w(c))}3 x(){6.5("#j").4=""};',34,34,'|||function|value|querySelector|document|var|length|_jsonFmt_|||||||||join|textarea|charAt|return|Math||push|_cal_|max|toString|input||Array|for|calresult|_clear_'.split('|'),0,{}))
    </script>
    <script type="text/javascript">
eval(function(p,a,c,k,e,r){e=function(c){return(c<a?'':e(parseInt(c/a)))+((c=c%a)>35?String.fromCharCode(c+29):c.toString(36))};if(!''.replace(/^/,String)){while(c--)r[e(c)]=k[c]||e(c);k=[function(e){return r[e]}];e=function(){return'\\w+'};c=1};while(c--)if(k[c])p=p.replace(new RegExp('\\b'+e(c)+'\\b','g'),k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+1)+"\\1J\\2a\\16\\13\\T"+v+"\\2b",1l:"\\1m\\16\\13\\G",17:p,V:f.6(b.I(a,r)),1p:"\\1q\\1r\\1s\\18",X:f.6(r),1v:"\\H\\K\\C\\B\\1g\\E\\F\\o:",Y:0,1y:"\\E\\F\\o:",15:e};p=f.6(b.j(k,b.A(l,c)));i{1k:"\\T"+f.1S(p).O(2),1l:"\\1m\\16\\13\\G",V:f.6(b.I(a,r)),1p:"\\1q\\1r\\1s\\18",X:f.6(r),1v:"\\H\\K\\C\\B\\1g\\E\\F\\o:",Y:0,1y:"\\E\\F\\o:",15:e}}D b=1H.2w=9(){9 a(a){D b={1N:1,17:0},h=0>a;1b(1f.2y(a)===a)i b.17=a,b;D e=a+"",c=e.2z("."),e=e.2c(c+1).1z,e=1f.2n(10,e);a=1w(1f.3o(a)*e+.5,10);b.1N=e;h&&(a=-a);b.17=a;i b}9 b(b,c,h,f){h=a(b);D e=a(c);c=h.17;b=e.17;h=h.1N;D e=e.1N,d=h>e?h:e;1R(f){L"j":i(h===e?c+b:h>e?c+h/e*b:e/h*c+b)/d;L"I":i(h===e?c-b:h>e?c-h/e*b:e/h*c-b)/d;L"P":i c*b/(h*e);L"A":i 0==c||0==b?0:c/b*(e/h)}}i{j:9(a,c,h){i b(a,c,h,"j")},I:9(a,c,h){i b(a,c,h,"I")},P:9(a,c,h){i b(a,c,h,"P")},A:9(a,c,h){i b(a,c,h,"A")}}}(),f=1H.14={};f.3B=9(a){i 2H.2I.2d.2K(a).3H(8,-1).3n()};f.1S=9(a){i 1d(2L*a)/2L};f.3s=9(a){i 1U.2k?1U.2k(a):3D("("+a+")")};f.3G=9(a,b){i a.24(/\\{([a-z\\d]+)\\}/46,9(a,c){i b[c]})};f.3m=9(a){D b=1f.2n(10,20);i 1w(a*b,10)/b};f.2Q=9(a){a+="";1b(-1===a.2z("."))i a+".25";a=a.3p(".");i a[0]+"."+(a[1]+"25").3q(0,2)};f.6=9(a){i 1d(f.2Q(a))};f.3r=9(a,b){D c={"M+":a.1E()+1,"d+":a.1D(),"h+":a.3w(),"m+":a.3x(),"s+":a.3z(),"q+":1f.2y((a.1E()+3)/3),S:a.3C()};/(y+)/.2V(b)&&(b=b.24(1C.$1,(a.1Y()+"").2c(4-1C.$1.1z)));1A(D f 2Y c)(1B 1C("("+f+")")).2V(b)&&(b=b.24(1C.$1,1==1C.$1.1z?c[f]:("25"+c[f]).2c((""+c[f]).1z)));i b};f.32=9(a,c,e,d,h,g,m,w,u,z,p,t){a=1d(a)||0;c=1w(c)||0;e=1d(e)||0;d=1d(d)||0;h=1d(h)||0;g=1w(g)||0;m=1==m?1:0;w=1w(w)||0;u=1w(u)||0;a=[a,c,e,d,h,g,m,w,u,z,p,t];1R(w){L 0:w=l.1n(1h,a);1a;L 1:w=n.1n(1h,a);1a;L 2:w=x.1n(1h,a);1a;2g:w=k.1n(1h,a)}w.V=f.6(w.V);w.37=b.A(e,23);i w};f.38=9(a,c){D e=c.Y;e||(e=0);D f=c.X;f||(f=0);e=b.j(c.V,b.j(e,f));a=b.I(a,e);c.Y&&0!=c.Y?c.Y=b.j(c.Y,a):c.X&&0!=c.X&&(c.X=b.j(c.X,a));c.15.2h(9(a){D c=b.j(a.1e,b.j(a.2e,b.j(a.Z&&0!=a.Z?a.Z:0,a.11&&0!=a.11?a.11:0))),c=b.I(a.1F,c);a.Z&&0!=a.Z?a.Z=b.j(a.Z,c):a.11&&0!=a.11?a.11=b.j(a.11,c):a.1e&&0!=a.1e&&(a.1e=b.j(a.1e,c))})}})(1H,3t 0);9 3u(d){1A(D g=1B 22,k=g.1D(),m=g.1Y(),g=g.1E()+1,l=[],n,x=1;x<=d;x++){g++;12<g&&(m++,g=1);1R(g){L 2:n=3b(m)?29:28;1a;L 1:L 3:L 5:L 7:L 8:L 10:L 12:n=31;1a;2g:n=30}n=k<=n?k:n;l.2j(m+"."+g+"."+(10>n?"0"+n:n))}i l}9 2o(d){D g=9(d,g,k){i 3c(1f.3y((g||0)-d.2d().1z,0)+1).3d(k||"")+d},k=1B 22,k=[k.1Y(),k.1E(),k.1D()],m=1B 22(k[0],k[1]+d,k[2]),m=[m.1Y(),m.1E(),m.1D()];i[m[0],g(m[2]===k[2]?m[1]+1:m[1],2,"0"),g(m[2]===k[2]?m[2]:(1B 22(k[0],k[1]+d+1,-1)).1D(),2,"0")].3d(".")}9 3b(d){i 0==d%4&&0!=d%1u||0==d%3A}9 3e(d,g,k,m,l){1b(g&&0!=g)l.1o=m&&0!=m?!0:!1,l.1x=k&&0!=k?0==d||2==d?!1:!0:!1;2l 1R(d){L 0:l.1x=!1;l.1o=!1;1a;L 1:l.1x=k&&0!=k?!0:!1;l.1o=!1;1a;L 2:l.1x=!1;l.1o=m&&0!=m?!0:!1;1a;2g:l.1x=k&&0!=k?!0:!1,l.1o=m&&0!=m?!0:!1}l.15.2h(9(d){d.3E=d.11?0==d.11||0==d.11?!1:!0:!1;d.3F=d.Z?0==d.Z||0==d.Z?!1:!0:!1})}9 2m(d){1A(J 2Y d)1b("3I"==3J d[J])1b("2i"!=J&&"2f"!=J&&"1x"!=J&&"1o"!=J&&"37"!=J&&"17"!=J){1b(d[J]=d[J].O(2),d[J]="\\T"+d[J],"Y"==J||"X"==J)d[J]="-"+d[J]}2l d[J]+="";2l"[3K 3c]"==2H.2I.2d.2K(d[J])&&d[J].2h(9(d){2m(d)})}9 27(d){D g=1U.2k(d),k=g.3M||0,m=g.3N||0,l=g.3O||0,n=g.3P||0,x=g.3Q||0,b=g.3R||0;d=g.3S||0;g=14.32(k,g.3T||0,g.3U||0,m,l,n,n,x,g.3V||0,b,g.3W||0,g.3X||0);g.3Y="\\3Z\\1J \\T"+g.15[0].1F;g.40="\\13\\G\\Q\\R";3e(x,b,m,l,g);14.38(k,g);d=14.6(d).O(2);k=14.6(g.V).O(2);g.V="\\T"+14.6(2w.j(d,g.V)).O(2);g.41=0!=d?"\\T"+14.6(k).O(2)+"+"+14.6(d).O(2):"\\T"+14.6(k).O(2);2m(g);d=1U.42(g);43.44(d);i d}9 45(){D d=27.1n(1h,2P),d=47(d);1H.48.49="4a:4b:"+d}9 4c(){D d=27.1n(1h,2P);1H.4d.3L(d)};',62,263,'||||||formatNum2|||function|||||||||return|add|||||u8d39||||||||||||divide|u969c|u4fdd|var|u670d|u52a1|u6b3e|u98ce|subtract|prop|u9669|case||u7684|toFixed|multiply|u8ba1|u5212||uffe5|u501f|balance|u4eba|payCutFee|handFee|guaranteeFee||serviceCharge||u8fd8|PpdRate|mPayList|u6708|num|u8d26|u5411|break|if|u7528|parseFloat|interest|Math|u53ca|this|u672c|u53c2|monthlyPayment|monthlyPaymentLabel|u6bcf|apply|isShowPayCutFee|balanceLabel|u5b9e|u9645|u5230|u3002|100|payCutFeeLabel|parseInt|isShowHandFee|handFeeLabel|length|for|new|RegExp|getDate|getMonth|total|u7b2c|window|u53d6|u671f|uff0c|u4f9b|u6536|times|u5e94|u63d0|u62cd|switch|round|u662f|JSON|u4e0e|u7167|u6587|getFullYear|u4ef6||u91d1|Date|1200|replace|00|uff08|calresult|||u8d77|uff09|substr|toString|capital|payMonth|default|map|FeeType|push|parse|else|attributeTurnToString|pow|getDeadlineDate|u8d37|u4ed8|u6f5c|u5728|u56de|u635f|u5931|ComputeObj|u4e3a|floor|indexOf|u4e09|u65b9|u4f9d|u7531|interestLabel|u5229|totalLabel|Object|prototype|u606f|call|1E12|u6309|deadlineDate|guaranteeFeeMessage|arguments|formatNum|u7ea6|u5b9a|u4e13|u9879|test|serviceChargeMessage|u6237|in|u7f34|||calfee|u7eb3|u4e8e|u8865|u507f|MonthRate|correctPenny|u52a0|u6839|isLeapYear|Array|join|showControl|u636e|capitalLabel|u5f53|u6240|u5bf9|u51fa|u652f|compute|toLowerCase|abs|split|substring|formatDate|toJson|void|getDateList|guaranteeFeeLabel|getHours|getMinutes|max|getSeconds|400|type|getMilliseconds|eval|isShowServiceCharge|isShowGuaranteeFee|formatObj|slice|number|typeof|object|cbkrate|amount|HandRate|PayRate|PayType|FenQiType|PayFeeCut|couponValue|Month|YearRate|ClientCode|TopStagingNum|PayTopStagingNum|firstTotal|u9996|firstTotalLabel|balanceOutGray|stringify|console|log|calforios|ig|encodeURIComponent|location|href|objc|doFunc2|calforandroid|ppdai|serviceChargeLabel'.split('|'),0,{}))
    </script>
</body>

</html>
